split
abstract fun split(block: DesignBlock, atTime: Double, options: SplitOptions = SplitOptions()): DesignBlock
Split a block at the specified time. The original block will be trimmed to end at the split time, and the returned duplicate will start at the split time and continue to the original end time.
Return
the newly created second half of the split block.
Parameters
block
the block to split.
at Time
the time (in seconds) relative to the block's time offset where the split should occur.
options
the options for configuring the split operation.